package com.share.bigdata.common.init.mdl;

public class Jdbc {
    private String url;
    private String driverName;
    private String userName;
    private String password;

    public Jdbc(String userName, String password, String url, String driverName) {
        this.userName = userName;
        this.password = password;
        this.url = url;
        this.driverName = driverName;
    }

    public Jdbc(String userName, String password, String url) {
        this.userName = userName;
        this.password = password;
        this.url = url;
        this.driverName = "com.mysql.cj.jdbc.Driver";
    }

    public String getUrl() {
        return url;
    }

    public String getDriverName() {
        return driverName;
    }

    public String getUserName() {
        return userName;
    }

    public String getPassword() {
        return password;
    }
}
